<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/12/31
 * Time: 17:02
 */

namespace app\common\model;

use think\Model;

class Member extends Model
{
    use \app\common\model\traits\Status;

    /**
     * 主键
     * @var string
     */
    protected $pk = 'id';

    /**
     * 表
     * @var string
     */
    protected $table = 'user';

    /**
     * 类型自动转换
     * @var array
     */
    protected $type = [
        'status'       => 'integer',
        'created_time' => 'datetime',
        'updated_time' => 'datetime',
    ];

}